package com.miao.im.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Auther: miaoguoxin
 * @Date: 2021/4/11 21:27
 * @Description:
 */
@Data
public class AuthRequestDto implements Serializable {
    @NotBlank(message = "账号不能为空")
    private String username;
    /**第一次加密后的密码*/
    @NotBlank(message = "密码不能为空")
    private String password;
    /**昵称*/
    private String nickname;
    /**头像*/
    private String avatar;
    /** {@link com.miao.im.common.enums.Gender}*/
    private Integer gender;
    /**设备号*/
    @NotBlank(message = "设备号不能为空")
    private String deviceNumber;
}
